package cn.lix.sc.elasticsearch.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class FirstTestDTO {

    private String id;
    private String lastTitle;
    private String customerLabelText;
    private Integer platformType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date nextCommunicateTime;
    private String oppotunitySource;
    private String payYear;
    private String memberId;
    private Long bcustomerId;
    private Integer communicateStatus;
    private String createWorkCode;
    private String oppotunityStatus;
    private Integer bindDeleted;
    private Integer longInsureNum;
    private Integer isClinch;
    private Integer hesitatePeriodPremium;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date allocateTime;
    private String description;
    private String remark;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLastTitle() {
        return lastTitle;
    }

    public void setLastTitle(String lastTitle) {
        this.lastTitle = lastTitle;
    }

    public String getCustomerLabelText() {
        return customerLabelText;
    }

    public void setCustomerLabelText(String customerLabelText) {
        this.customerLabelText = customerLabelText;
    }

    public Integer getPlatformType() {
        return platformType;
    }

    public void setPlatformType(Integer platformType) {
        this.platformType = platformType;
    }

    public Date getNextCommunicateTime() {
        return nextCommunicateTime;
    }

    public void setNextCommunicateTime(Date nextCommunicateTime) {
        this.nextCommunicateTime = nextCommunicateTime;
    }

    public String getOppotunitySource() {
        return oppotunitySource;
    }

    public void setOppotunitySource(String oppotunitySource) {
        this.oppotunitySource = oppotunitySource;
    }

    public String getPayYear() {
        return payYear;
    }

    public void setPayYear(String payYear) {
        this.payYear = payYear;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Long getBcustomerId() {
        return bcustomerId;
    }

    public void setBcustomerId(Long bcustomerId) {
        this.bcustomerId = bcustomerId;
    }

    public Integer getCommunicateStatus() {
        return communicateStatus;
    }

    public void setCommunicateStatus(Integer communicateStatus) {
        this.communicateStatus = communicateStatus;
    }

    public String getCreateWorkCode() {
        return createWorkCode;
    }

    public void setCreateWorkCode(String createWorkCode) {
        this.createWorkCode = createWorkCode;
    }

    public String getOppotunityStatus() {
        return oppotunityStatus;
    }

    public void setOppotunityStatus(String oppotunityStatus) {
        this.oppotunityStatus = oppotunityStatus;
    }

    public Integer getBindDeleted() {
        return bindDeleted;
    }

    public void setBindDeleted(Integer bindDeleted) {
        this.bindDeleted = bindDeleted;
    }

    public Integer getLongInsureNum() {
        return longInsureNum;
    }

    public void setLongInsureNum(Integer longInsureNum) {
        this.longInsureNum = longInsureNum;
    }

    public Integer getIsClinch() {
        return isClinch;
    }

    public void setIsClinch(Integer isClinch) {
        this.isClinch = isClinch;
    }

    public Integer getHesitatePeriodPremium() {
        return hesitatePeriodPremium;
    }

    public void setHesitatePeriodPremium(Integer hesitatePeriodPremium) {
        this.hesitatePeriodPremium = hesitatePeriodPremium;
    }

    public Date getAllocateTime() {
        return allocateTime;
    }

    public void setAllocateTime(Date allocateTime) {
        this.allocateTime = allocateTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "FirstTestDTO{" +
                "id='" + id + '\'' +
                ", lastTitle='" + lastTitle + '\'' +
                ", customerLabelText='" + customerLabelText + '\'' +
                ", platformType=" + platformType +
                ", nextCommunicateTime=" + nextCommunicateTime +
                ", oppotunitySource='" + oppotunitySource + '\'' +
                ", payYear='" + payYear + '\'' +
                ", memberId='" + memberId + '\'' +
                ", bcustomerId=" + bcustomerId +
                ", communicateStatus=" + communicateStatus +
                ", createWorkCode='" + createWorkCode + '\'' +
                ", oppotunityStatus='" + oppotunityStatus + '\'' +
                ", bindDeleted=" + bindDeleted +
                ", longInsureNum=" + longInsureNum +
                ", isClinch=" + isClinch +
                ", hesitatePeriodPremium=" + hesitatePeriodPremium +
                ", allocateTime=" + allocateTime +
                ", description='" + description + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        FirstTestDTO that = (FirstTestDTO) o;

        return id != null ? id.equals(that.id) : that.id == null;
    }

    @Override
    public int hashCode() {
        return id != null ? id.hashCode() : 0;
    }

}
